//
//  FlagDetailCell.m
//  PASystem
//
//  Created by 刘沿 on 16/9/22.
//  Copyright © 2016年 czd. All rights reserved.
//

#import "FlagDetailCell.h"
#import "UILabel+time.h"
@implementation FlagDetailCell

+ (instancetype)WithFlagDetailCell{

    return [[[NSBundle mainBundle] loadNibNamed:@"FlagDetailCell" owner:nil options:nil] lastObject];
}

- (void)setModel:(FlagDetailModel *)model{
    _model = model;

    self.PNAME.text = model.PNAME;
    self.CNT.text = model.CNT;
    
    NSString *str = [UILabel withTimeStr:model.CNTTIME];
    
    self.CNTTIME.text = str;
    
}




@end
